/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.amse.grigory.dchess.kernel;

/**
 *
 * @author grigory
 */
public class Move {

    private int myStartX,  myStartY;
    private int myEndX,  myEndY;

    public Move() {
        myStartX = -1;
        myStartY = -1;
        myEndX = -1;
        myEndY = -1;
    }

    public Move(int sx, int sy, int ex, int ey) {
        myStartX = sx;
        myStartY = sy;
        myEndX = ex;
        myEndY = ey;
    }
    //Getters
    public int getSX() {
        return myStartX;
    }

    public int getSY() {
        return myStartY;
    }

    public int getEX() {
        return myEndX;
    }

    public int getEY() {
        return myEndY;
    }
    //Setters    
    public void SetSX(int sx) {
        myStartX = sx;
    }

    public void SetSY(int sy) {
        myStartY = sy;
    }

    public void SetEX(int ex) {
        myEndX = ex;
    }

    public void SetEy(int ey) {
        myEndY = ey;
    }
}
